import React from 'react';

export default function axlazy(factory) {
  const Component = React.lazy(factory);
  Component.preLoad = factory;
  return Component;
}
